package model.v2.smi;

import annotation.ShowInfo;
import com.google.gson.annotations.Expose;
import model.MibNode;

import java.util.List;

public class MibObjectTypeNodeV2 extends MibNode {
    public static class NamedBit{
        @Expose
        public String identifier;
        @Expose
        public int number;

        public NamedBit(String identifier, int number) {
            this.identifier = identifier;
            this.number = number;
        }
    }

    public static class DefValPart{
        @Expose
        public String defvalue;
        @Expose
        public List<String> bitsValue;
    }

    @Expose
    public String syntax;
    @Expose
    @ShowInfo(name = "单位")
    public String unit;
    @Expose
    @ShowInfo(name = "MAX-ACCESS")
    public String maxAccess;
    @Expose
    @ShowInfo(name = "状态")
    public String status;
    @Expose
    public String reference;
    @Expose
    public List<NamedBit> namedBits;
    @Expose
    public List<String> indexTypes;
    @Expose
    public String augments;
    @Expose
    public DefValPart defValPart;
}
